((window) => {
    const configs = {
        /*
        [1, 1, 1, 1],
        [1, 1, 1, 0,
            1],
        [1, 1, 1, 0,
            0, 0, 1],
        [0, 1, 1, 0,
            0, 1, 1],
        [1, 1, 0, 0,
            0, 1, 1],
        [0, 1, 1, 0,
            1, 1],
        [0, 1, 0, 0,
            1, 1, 1]
        */
        SHAPES: [
            [1, 1, 1, 1],
            [1, 1, 1, 0, 1],
            [1, 1, 1, 0, 0, 0, 1],
            [0, 1, 1, 0, 0, 1, 1],
            [1, 1, 0, 0, 0, 1, 1],
            [0, 1, 1, 0, 1, 1],
            [0, 1, 0, 0, 1, 1, 1]
        ],
        /** 宽度 */
        BLOCKWIDTH: 30,
        COLORS: [
            'brown', 'olive', 'blue', 'chocolate', 'gray', 'green', 'purple'
        ],
        LVSCS: [0, 1, 3, 6, 10],
        levels: 0,
        scores: 0,
        interval: null,
        TICKVAL: 450,
        STEPVAL: 50,
        STEP: 0,
        isAutoPlay: false,
        isAudioOpen: false
    }
    window.configs = configs
})(window)